<layout name="Iflayout"/>
<div class="xyh-content">

    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><em class="glyphicon glyphicon-cloud-upload"></em>
                修改会员
            </h3>
        </div>

    </div>


    <div class="row">
        <div class="col-lg-12">

            <form method='post' class="form-horizontal" id="form_do" name="form_do" action="{:U('editUser')}">
                <div class="form-group">
                    <label for="inputEmail" class="col-sm-2 control-label">邮箱</label>
                    <div class="col-sm-9">
                        <input type="text" name="email" id="inputEmail" value="{$arr['email']}" class="form-control" placeholder="邮箱" required="required" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-9">
                        <input type="password" name="password" id="inputPassword" class="form-control" placeholder="" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputNickname" class="col-sm-2 control-label">昵称</label>
                    <div class="col-sm-9">
                        <input type="text" name="nickname" id="inputNickname" value="{$arr['nickname']}" class="form-control" placeholder="昵称" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputValue" class="col-sm-2 control-label">会员组名</label>
                    <div class="col-sm-9">
                        <select name="groupid" class="form-control">

                            <foreach name="list" item="brr">
                                <option value="{$brr['id']}" {$brr['id']==$arr['groupid'] ? "selected" : ""}>{$brr['name']}</option>
                            </foreach>
1
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">状态</label>
                    <div class="col-sm-9">
                        <label class="radio-inline">
                            <input type="radio" name="islock" value="{$arr['islock']}" {$arr['islock']==0 ? "checked" : ""} />正常
                        </label>
                        <label class="radio-inline">
                            <input type="radio" name="islock" value="{$arr['islock']}"  {$arr['islock']==1 ? "checked" : ""}/>锁定
                        </label>
                    </div>
                </div>

                <div class="row margin-botton-large">
                    <div class="col-sm-offset-2 col-sm-9">
                        <input type="hidden" name="id" value="{$arr['id']}" />
                        <div class="btn-group">
                            <button type="submit" class="btn btn-primary"> <i class="glyphicon glyphicon-saved"></i>
                                保存
                            </button>
                            <button type="button" onclick="goUrl('/xyhai.php?s=/Member/index')" class="btn btn-default"> <i class="glyphicon glyphicon-chevron-left"></i>
                                返回
                            </button>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>






</div>
</body>
</html>